.queryplan_p {
  line-height: 1;
  margin: 0;
  user-select: none;
  border-radius: 2px;
  opacity: 1;
  height: 32px;
  display: flex;
  line-height: 32px;

  align-items: center;
  column-gap: 8px;
  cursor: pointer;
  border: 0;
  outline: 0;
  //防止扇动
  & {
    border: 1px solid rgba(0,0,0,0);
    box-shadow: 0 0 3px rgba(0,0,0,0) .6;
}
 &:focus .queryplan_p_content{
   .queryplan_p_icon {
    color: var(--q-primary);
  }
   .queryplan_p_plan_name {
    color: var(--q-primary) !important;
  }
   .fas.dx-icon.icon-t-down-outlined {
    color: var(--q-primary) !important;
  }
  .fas.dx-icon.icon-t-arrow-down {
    color: var(--q-primary) !important;
  }
}
&_content{
  display: flex;
  gap: 8px;
  align-items: center;
}
  &_content:hover &_icon {
    color: var(--q-primary);
  }
  &_content:hover &_plan_name {
    color: var(--q-primary) !important;
  }
  &_content:hover .fas.dx-icon.icon-t-down-outlined {
    color: var(--q-primary) !important;
  }
  &_content:hover .fas.dx-icon.icon-t-arrow-down {
    color: var(--q-primary) !important;
  }


  &_icon {
    // margin-right: 6px;
    font-size: 14px;
    color: rgba(0, 0, 0, var(--t-color-opacity, /*批量处理透明度,将80%替换为--t-color-opacity*/.8));
    transform: scale(1.1);
  }

  &_plan_name {
    // margin:0 8px;
    // font-weight: 600;
    font-size: 14px;
    max-width: 200px;
    color:rgba(0,0,0, var(--t-color-opacity, /*批量处理透明度,将80%替换为--t-color-opacity*/.8)) !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    // font-weight: 600;
    height: 32px;
    flex: 1 1 auto;
    justify-content: center;
    align-items: center;
    font-weight: 400;
  }
}

.plan {
  line-height: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8px;

  p {
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
    align-items: center;

    >span {
      //margin-left: 8px;
      margin-left: 0px
    }

    .planType {
      border-radius: 50%;
      border: 1px solid;
      transform: scale(0.8);
      display: inline-block;
      flex: 0 0 auto;
      width: 20px;
      height: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-left: 0;
    }
  }

  .t-button {
    min-width: 0;
  }
}

.text {
  line-height: 1;
  display: inline-block;
}

.subConditionDataNumber {
  line-height: 1;
  margin-top: 0 !important;
  width: 100% !important;

  .subCondition {
    min-width: 150px;
  }
}

.queryplanContent {
  line-height: 1;
  background: rgba(0, 0, 0, 0) !important;

  header {
    justify-content: start !important;
    display: flex;
    align-items: center;
    justify-content: start;
    font-size: 16px;
    height: 48px;
    position: relative;
    background: #fff;
    padding-left: 24px;

    span {
      font-weight: 400 !important;
    }
  }
}

.shareDteail {
  line-height: 1;

  .tr-input-default.t-chips-input {
    display: none;
  }
}

.sub_IsNeedAtPerson .no-outline {
  display: none;
}

.subwarning-q-stepper {
  line-height: 1;
  margin: 0 auto;
  box-shadow: none;
  margin-bottom: 8px;

  .q-stepper__header--border {
    border: 0;
  }

  .q-panel {
    display: none;

  }
}

.tr-card-header.q-card__section--vert {
  line-height: 1;
  padding: 16px 24px 12px 24px;
}

.tr-card-content.q-card__section--vert {
  line-height: 1;
  padding: 12px 16px;
}

.tips_planChange_content {
  line-height: 1.5;
  text-indent: 10px;
  font-size: 12px;
  display: flex;
  justify-content: start;
  align-items: center;
  margin: 0;
  padding: 0;
  min-width: 170px;
  z-index: 1000;
  padding: 4px 0px;
  border-radius: 2px;

  i:nth-child(1) {
    color: var(--q-primary);
  }

  i {
    font-style: normal;
  }
}

.queryplan_p_icon {
  font-size: 16px;
  margin-right: 0px;
  transform: scale(1) !important;
}

.select_queryplan_select_sort {
  .tr-select-small .q-field__control {
    border: 0px
  }

  .tr-select-big .q-field--focused .q-field__inner .q-field__control {
    border: 0
  }
}

.queryplanContent .subwarning_basicInfo p {
  padding: 0 24px 24px 24px !important;
  margin: 0;
  >span{
    color:rgba(0,0,0,.56)
  }
}

.queryplanContent .subwarning_basicInfo p input {
  width: 100%;
  margin-top: 0;
  text-indent: 0px;
  border-radius: 4px;
  border: 0;
  line-height: 26px;
}

.queryplanContent .subwarning_basicInfo p>span {
  display: block;
  width: 100%;
  margin-bottom: 8px;
}

.queryplanContent .subwarning_basicInfo_height_Auto {
  height: auto;
}
.subwarning_basicInfo{
  max-height: 548px;
  height: calc(80vh - 170px);
  overflow: auto;
}
.subwarning_basicInfo .subCondition {
  margin-top: 0 !important;
}

.tr-select-big.select_queryplan_select_sort .q-field--focused .q-field__inner .q-field__control {
  border: 0;
  box-shadow: 0 0 0 0;
}

.tr-select-big.select_queryplan_select_sort .q-field__native.row.items-center {
  justify-content: end;

  span {
    color: rgba(0, 0, 0, .56);
  }

}

.search_input_border_none {
  .q-field--dense .q-field__inner .q-field__control {
    border: 0 !important;
  }

  .q-field--dense .q-field__inner .q-field__control:hover {
    border: 0 !important;
  }

  .q-field--focused .q-field__inner .q-field__control {
    border: 0 !important;
    box-shadow: 0 0 0 0 !important;
  }
}
.plan_list_more_operate{
  opacity: 0;
}
.plan_list_item_notckeck:hover .plan_list_more_operate{
  opacity: 1;
}
.plan_list_item_ckeck:hover .plan_list_more_operate{
  opacity: 1;
}
// .plan_list_item_ckeck .plan_list_more_operate{
//   opacity: 1;
// }
.plan_list_more_operate_opacity{
  opacity: 1 !important;
}
.queryPlan_list{
  color: rgba(0,0,0, var(--t-color-opacity, /*批量处理透明度,将80%替换为--t-color-opacity*/.8));
  padding: 0 16px !important;
}
.queryPlan_list .q-hoverable:hover>.q-focus-helper{
  background: #F0F2F5 !important;
  opacity: 0 !important;
}
.plan_list_item_ckeck {
  background: #E6F2FB !important;
  opacity: 1 !important;
}
.plan_list_item_ckeck .q-hoverable:hover>.q-focus-helper{
  background: grba(0,0,0,0);
  opacity: 0 !important;
}

.queryPlan_list .selected .q-item__section{
  background: #F0F2F5 !important;
}

.queryPlan_list .q-item__section{
  position: relative;
}
.queryPlan_list .q-item{
padding: 2px 0px !important;
}

.q-menu.q-position-engine.scroll.plan_triangle_up{
  margin-top: 8px !important;
}
.q-menu.q-position-engine.scroll.plan_triangle_up::before {
  content: "";
  position: absolute;
  top: -10px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 12px solid #fff;
  z-index: 1000;

}
.plan_popover_operate{
  margin-left: 50px !important;
  margin-top: -20px !important;
  overflow: visible;

}

.plan_popover_operate::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 18px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 12px solid #fff;
  z-index: 1000;

}
.plan_popover_operate::after {
  content: "";
  position: absolute;
  left: -11px;
  top: 10px;
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-right: 12px solid #ddd;
  z-index: 999;
  margin-top: 7px !important;

}

.queryPlan_list .plan_list_item_ckeck .q-hoverable:hover>.q-focus-helper {
  background: rgba(0,0,0,0) !important;
}
.plan_dialog_header_title{
  color: rgba(0,0,0, var(--t-color-opacity, /*批量处理透明度,将80%替换为--t-color-opacity*/.8));
  font-size: 16px;
}
.plan_list_item.q-hoverable:hover>.q-focus-helper{
  background: #F0F2F5 !important;
  opacity: 1 !important;
}
.plan_list_item .q-focus-helper::after{
  background: rgba(0,0,0,0) !important;
  opacity: 1 !important;
}
.plan_list_item .q-focus-helper::before{
  background: rgba(0,0,0,0) !important;
  opacity: 1 !important;
}
.plan_list_item .q-item__section{
  position: relative !important;
}
.subwarning_foot{
  padding: 24px 24px 16px 24px !important;
  margin-top: 0px !important;
  display: flex;
  justify-content: end;

}


.defaultPlanPopover .q-item{
  color: rgba(0,0,0, var(--t-color-opacity, /*批量处理透明度,将80%替换为--t-color-opacity*/.8));
}
.queryplanContent {
  background: rgb(240, 242, 245);
  height: 100vh;

  header {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    height: 48px;
    position: relative;
    background: #fff;
    span {
      font-weight: 600;
    }
  }
  .currentpaln {
    padding: 20px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 8px;
    .title {
      font-weight: 600;
    }
    .planName {
      font-weight: 400;
    }
  }
  .planManager {
    padding: 0 20px;
    background: #fff;
    height: calc(100vh - 112px);
    overflow: hidden;
    .FilterContent {
      height: calc(100vh - 230px);
      display: flex;
      flex-direction: column;
    }
    .filterContent {
      position: relative;
      left: -20px;
      right: -20px;
      width: calc(100% + 40px);
      margin: 20px 0;
      padding: 0 20px;
      overflow: auto;
      flex: 1 1 auto;
      & > div {
        & > .tm-cell {
          padding: 0;
          border: 1px solid rgb(240, 242, 245);
          input {
            text-indent: 10px;
            padding: 4px 0;
            border-radius: 4px;
          }
        }
        & > .date-time-picker > .tm-cell {
          // padding: 0;
          padding: 4px 10px;
          border: 1px solid rgb(240, 242, 245);
        }
        & > div {
          & > .tm-cell {
            padding: 0;
            border: 1px solid rgb(240, 242, 245);
            input {
              text-indent: 10px;
              padding: 4px 0;
              // border: 1px solid rgb(240, 242, 245);
              border-radius: 4px;
            }
          }
        }
      }
      .header {
        padding: 10px 0;
        margin: 0;
      }
      .tm-tabs.tm-tabs--line {
        display: flex;
        flex-direction: column;
        .tm-tabs__content {
          overflow: auto;
          flex: 1 1 auto;
          .tm-tab__panel {
            & > div {
              & > .tm-cell {
                padding: 0;
                border: 1px solid rgb(240, 242, 245);
                input {
                  text-indent: 10px;
                  padding: 4px 0;
                  border-radius: 4px;
                }
              }
              & > .date-time-picker > .tm-cell {
                // padding: 0;
                padding: 4px 10px;
                border: 1px solid rgb(240, 242, 245);
              }
              & > div {
                & > .tm-cell {
                  padding: 0;
                  border: 1px solid rgb(240, 242, 245);
                  input {
                    text-indent: 10px;
                    padding: 4px 0;
                    // border: 1px solid rgb(240, 242, 245);
                    border-radius: 4px;
                  }
                }
              }
            }
          }
        }
      }
    }
    .search {
      display: flex;
      justify-content: space-between;
      align-items: center;
      .searchInput {
        flex: 1 1 auto;
        padding-left: 0;
      }
      .sort {
        font-size: 20px;
      }
    }
    .planList {
      height: calc(100vh - 300px);
      overflow: auto;
      position: relative;
      left: -20px;
      right: -20px;
      width: calc(100% + 40px);
      padding: 20px;
      .plan {
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: space-between;

        span {
          display: inline-block;
          font-size: 14px;
          margin-left: 12px;
        }
        p {
          display: flex;
          align-items: center;
        }

        .planType {
          margin-right: 6px;
          margin-left: 0;
          border-radius: 50%;
          border: 1px solid #000;
          /* padding: 4px; */
          transform: scale(0.8);
          font-size: 12px;
          width: 24px;
          height: 24px;
          display: flex;
          text-align: center;
          align-items: center;
          padding-left: 5px;
        }
        .planName {
          display: inline-block;
          margin-left: 0;
          white-space: nowrap; /* 确保所有文本都在同一行 */
          overflow: hidden; /* 隐藏超出元素宽度的内容 */
          text-overflow: ellipsis; /* 当文本溢出时显示省略号 */
        }
      }
      .tm-cell {
        padding-left: 0;
        padding-top: 0;
        padding-bottom: 0;
      }
    }
    .bottom {
      position: absolute;
      bottom: 10px;
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      .tm-button::before {
        // background: var(--tm-primary-color);
      }
      .cancel {
        width: 30%;
        text-align: center;
        color: var(--tm-primary-color); //var(--tm-primary-color);;
      }
    }
  }
  .filterPreview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    span {
      padding-left: 16px;
      color: rgba(0, 0, 0, 0.56);
      display: inline-block;
    }
    .currentPlan {
      display: flex;
      align-items: center;
      span {
        padding-left: 0;
      }
      .numberTag {
        border-radius: 50%;
        background-color: red;
        color: #fff;
        text-align: center;
        padding: 0;
        width: 16px;
        height: 16px;
        display: inline-block;
        font-size: 12px;
        line-height: 16px;
        transform: scale(0.9);
        margin-left: 6px;
      }
    }
    .operate {
      font-size: 12px;
    }
  }
  .filterPreviewContent {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 14px;
    span {
      margin-right: 10px;
      border-radius: 4px;
      background-color: rgb(240, 242, 245);
      padding: 6px 4px;
      margin-bottom: 6px;
      i {
        font-style: normal;
        margin-right: 6px;
        font-size: 12px;
        color: rgba(0, 0, 0, 0.56);
      }
      .value {
        font-weight: 600;
        color: rgba(0, 0, 0, var(--t-color-opacity, /*批量处理90%透明度*/0.9));
      }
    }
  }
  .line {
    height: 8px;
    padding: 0;
    margin: 00;
    background: rgb(240, 242, 245);
    position: relative;
    left: -20px;
    height: -20px;
    width: calc(100% + 40px);
    margin-top: 0px;
  }
}
.subwarning_basicInfo_height_Auto {
  height: auto !important;
}
.subConditionDataNumber {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 8px;

  .subCondition {
    margin-top: 0;
    width:100%;
    p {
      margin: 0;
    }
    .tm-select__content {
      height: 280px;
    }
    i {
      margin-left: 4px;
    }
  }
}
.subwarning_basicInfo {
  height: calc(80vh - 170px);
  overflow: auto;
  .tm-field__right-icon {
    > div {
      display: flex;
      align-items: center;
    }
  }
  p {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 20px;
    span {
      display: block;
      width: 100%;
    }
    input {
      width: 100%;
      margin-top: 8px;
      text-indent: 10px;
      // padding: 4px 0;
      border-radius: 4px;
      border: 1px solid rgb(204, 204, 204);
      line-height: 26px;
    }
  }
  .subCondition {
    width: 100%;
    margin-top: 8px;

    > .tm-cell {
      width: 100%;
      border: 1px solid #cccccc;
      padding: 0;
      border-radius: 4px;
      height: 30px;
      line-height: 30px;
      display: flex;
      align-items: center;
    }
    .tm-field__control {
      border: 0;
    }
    .tm-select__content {
      height: 300px;
    }
    input {
      margin: 0;
    }
    .tm-icon.tm-icon-arrow {
      margin-right: 10px;
    }
  }
  .subList {
    .tm-cell {
      padding-bottom: 0;
    }
    p {
      display: flex;
      justify-content: space-around;
      margin: 0;
      padding: 0 20px;

      span {
        display: inline-block;
        width: 15%;
        text-align: left;
        color: rgba(0, 0, 0, var(--t-color-opacity, /*批量处理90%透明度*/0.9)) !important;
      }
      span:nth-child(2) {
        width: 25%;
      }
      span:nth-child(3) {
        width: 25%;
      }
    }
  }
}
.plan_list_item.selected>.q-focus-helper {
  background: #9c9fa4 !important;
  opacity: 0.2 !important;

}
.queryPlan_portal_manage_list .plan{
  margin-bottom: 12px !important;
}
